package com.intelli.eve.core.api.message;

import com.intelli.eve.core.api.common.Priority;

/**
 * Author: Sergey42
 * Date: 27.12.2014 12:17
 */
public class Header {

    protected long messageId;
    protected Priority priority;
    protected String protocol;

    public Header() {
    }

    public Header(long messageId, Priority priority) {
        this.messageId = messageId;
        this.priority = priority;
    }

    public Header(long messageId, Priority priority, String protocol) {
        this.messageId = messageId;
        this.priority = priority;
        this.protocol = protocol;
    }

    public long getMessageId() {
        return messageId;
    }

    public void setMessageId(long messageId) {
        this.messageId = messageId;
    }

    public Priority getPriority() {
        return priority;
    }

    public void setPriority(Priority priority) {
        this.priority = priority;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }
}
